import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import shou from '../views/shou.vue'
import fen from '../views/fen.vue'
import gou from '../views/gou.vue'
import wo from '../views/wo.vue'
import xq from '../views/xq.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'shou',
    component: shou
  },
  {
    path: '/shou',
    name: 'shou',
    component: shou
  },
  {
    path: '/xq',
    name: 'xqq',
    component: xq
  },
  {
    path: '/fen',
    name: 'fen',
    component: fen
  },
  {
    path: '/wo',
    name: 'wo',
    component: wo
  },
  {
    path: '/gou',
    name: 'gou',
    component: gou
  },
  {
    path: '/about',
    name: 'about',
    component: () => import('../views/AboutView.vue')
  }
]

const router = new VueRouter({
  routes
})

export default router
